package 笔记.设计模式.装饰者模式;

/**
 * @author chenhailong
 * @ClassName: XiaoMi
 * @Description: 电子设备 抽象类
 * @date 2021/7/7 15:30
 * @Version 1.0
 */
public abstract class ElectronicEquipment implements Phone {

    protected Phone phone;


    ElectronicEquipment(Phone phone) {
        this.phone = phone;
    }

    public void Yule() {
        phone.Yule();
    }

}
